package dian.qing.li.demo.security.config.security;

import dian.qing.li.demo.security.commons.BaseObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author: liqingdian
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
public class LoginUser extends BaseObject {

    private String name;

    private String username;

    private String password;

    private boolean epirede;

    private boolean locked;

    private boolean disabled;

    private List<String> roles;

    private List<String> authorities;
}
